package com.jackstraw.jack_base.util.exception;

import com.jackstraw.jack_base.util.entity.response.ResultInterface;

/**
 * 请求异常
 */
public class BadRequestException extends BadException {
    public BadRequestException() {
    }

    public BadRequestException(String errorKey, Object... obj) {
        super(errorKey, obj);
    }

    public BadRequestException(ResultInterface resultInterface) {
        super(resultInterface);
    }

    public BadRequestException(ResultInterface resultInterface, Throwable cause) {
        super(resultInterface, cause);
    }

    public BadRequestException(String errorKey) {
        super(errorKey);
    }

    public BadRequestException(String errorCode, String errorMsg) {
        super(errorCode, errorMsg);
    }

    public BadRequestException(String errorCode, String errorMsg, Object... obj) {
        super(errorCode, errorMsg, obj);
    }

    public BadRequestException(String errorCode, String errorMsg, Throwable cause) {
        super(errorCode, errorMsg, cause);
    }

    public BadRequestException(String errorCode, String errorMsg, Throwable cause, Object... obj) {
        super(errorCode, errorMsg, cause, obj);
    }
}
